home *** CD-ROM | disk | FTP | other *** search
/ EROS 2 / EROS 2.iso / mac / EROS vol.2 / EROS vol.DXR / 00850.ls < prev    next >
Encoding:
Text File  |  1995-12-20  |  495 b   |  15 lines

  1. on mouseUp
  2.   global md1, rantime, mp
  3.   set the cursor of sprite 4 to 4
  4.   set rantime to the ticks
  5.   set mp to 4
  6.   if the name of cast the castNum of sprite 4 = "fct4end" then
  7.     set the castNum of sprite 4 to the number of cast "FCT4S"
  8.     set md1 to the duration of cast the castNum of sprite 4 - 3
  9.   else
  10.     set md1 to the duration of cast (the castNum of sprite 4 + 1) - 3
  11.     set the castNum of sprite 4 to the castNum of sprite 4 + 1
  12.   end if
  13.   set the cursor of sprite 4 to [50, 51]
  14. end
  15.